set(jamusBackendStubSrcs Plugin.cpp)
add_library(stub_backend SHARED ${jamusBackendStubSrcs})
set_target_properties(stub_backend PROPERTIES PREFIX "" LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/src)

add_executable(stub_backend_test test.cpp ../../Track.cpp ../../InvalidPlaybackStateException.cpp ../../NoCurrentTrackException.cpp)
target_link_libraries(stub_backend_test stub_backend ${Boost_LIBRARIES})

add_test(stub_backend_test stub_backend_test)

install(TARGETS stub_backend LIBRARY DESTINATION ${pluginDirectory})
